<!--修改密码-->
<template>
  <div>
    <component
      v-bind:is="currentTabComponent"
      :title="$route.name === 'loginPassword' ? '登录密码' : '支付密码'"
      :showBackBtn="true"
    >
      <change-psw-form slot="content"></change-psw-form>
    </component>
  </div>
</template>

<script>
export default {
  name: "companyInfo",
  components: {
    changePswForm: () => import("@/components/changePswForm/index"),
    contentWrapper: () => import("@/components/contentWrapper/index"),
    tab: () => import("@/components/contentWrapper/pcIndex")
  },
  computed: {
    currentTabComponent() {
      if (this.$store.state.isPC) {
        return "tab";
      } else {
        return "contentWrapper";
      }
    }
  }
};
</script>
